/**=============针对个性化设置页面============**/
// 左导航树型菜单
function Show_Div(sName,srcObj){
	var sObj = document.getElementById(sName);
	var sHeight = sObj.scrollHeight;
	
	if(sObj.style.display==""||sObj.style.display=="block"){
		sObj.style.display = "none";
		srcObj.src = "../../images/tag10.gif";
		srcObj.alt = "最大化";
		srcObj.title = "最大化";
	}else{
		sObj.style.display = "block";
		srcObj.src = "../../images/tag11.gif";
		srcObj.alt = "最小化";
		srcObj.title = "最小化";
	}
}


// 左导航树型菜单1
		function changeMenu(obj,url)
		{
			for(i=1;i<120;i++)
			{
			try{
			obj3 = document.all("a"+i);
			for(var j = 0; j < obj3.attributes.length; j++) {
			if(obj3.attributes.item(j).nodeName == 'class') {
				obj3.attributes.item(j).nodeValue = 'tree_nav';
			}}
			}catch(e){}
			}
		for(var j = 0; j < obj.attributes.length; j++) {
			if(obj.attributes.item(j).nodeName == 'class') {
				obj.attributes.item(j).nodeValue = 'tree_nav_on';
			}
			}
			// parent.mainFrame.location = url; 2008-5-13
			document.getElementById('mainFrame').src=url
		}


// 左导航树型菜单3
function changeMouseOut(obj)
{
    for(var i=1;i<8;i++)
    {
        var str="navA"+i;
        document.getElementById(str).className="nav4";   
    }
    obj.className="nav3";   
}

//显示隐藏查询列表
function dispSearchDiv(obj)
{
  var src = obj.src;
  src = src.substring(src.length-9,src.length);
  
  if(src=="tag10.gif")
  {
     obj.src="/images/portal/style/green/tag11.gif";
     var searchDiv = document.getElementById("searchDiv");
     searchDiv.style.display = "none"; 
  }
  else
  {
     obj.src="/images/portal/style/green/tag10.gif";
     var searchDiv = document.getElementById("searchDiv");
     searchDiv.style.display = "block"; 
  }
}

/**
  * 点击转换功能3  */
function g(o){return document.getElementById(o);}
function coverLi(n){
for(var i=1;i<=5;i++){g('cb_'+i).className='nzelistab';g('cbc_0'+i).className='undis';}g('cbc_0'+n).className='dis';g('cb_'+n).className='zelistab';
}
function coverLi1(n){
for(var i=1;i<=5;i++){g('cb1_'+i).className='nzelistab';g('cb1c_0'+i).className='undis';}g('cb1c_0'+n).className='dis';g('cb1_'+n).className='zelistab';
}
function coverLi2(n){
for(var i=1;i<=5;i++){g('cb2_'+i).className='nzelistab';g('cb2c_0'+i).className='undis';}g('cb2c_0'+n).className='dis';g('cb2_'+n).className='zelistab';
}

